package com.flyme.module.base.client.api;


import com.flyme.common.core.model.ResultBody;
import com.flyme.module.base.client.entity.SysCompany;
import com.flyme.module.base.client.entity.SysInvoice;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * @author zyf
 */
@RequestMapping("/invoice")
public interface SysInvoiceRemoteService {

    /**
     * 发票信息
     */
    @PostMapping("/invoiceList/{id}")
    public ResultBody invoiceList(@PathVariable String id);

    /**
     * 更新
     *
     * @return
     */
    @PostMapping("update")
    ResultBody update(@ModelAttribute SysInvoice invoice);

}
